package com.example.administrator.hqq.bean;

import com.example.administrator.hqq.bean.post.PostModuleBean;

import java.util.List;

/**
 * @name: HQQ
 * @describe:
 * @author: 康海涛 QQ2541849981
 * @time: 2018/11/22 15:42
 * @remark:
 */
public class PostDetailsBean {

    /**
     * code : 200
     * description : ok
     * data : {"topic_name":"宝马","user_nickname":"111","user_portrait_url":"http://phvao75wg.bkt.clouddn.com//user/portrait/111-1.180.70","location_type":"","title":"狗蛋群","content":"111111","like_amount":5,"like_state":1,"reply_amount":13,"collection_state":0,"picture_url":[{"large":"http://phvao75wg.bkt.clouddn.com/111-forum.wide.666.q.70","small":"http://phvao75wg.bkt.clouddn.com/111-forum.wide.225.q.70"},{"large":"http://phvao75wg.bkt.clouddn.com/222-forum.wide.666.q.70","small":"http://phvao75wg.bkt.clouddn.com/222-forum.wide.225.q.70"}]}
     */

    private int code;
    private String description;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * topic_name : 宝马
         * user_nickname : 111
         * user_portrait_url : http://phvao75wg.bkt.clouddn.com//user/portrait/111-1.180.70
         * location_type :
         * title : 狗蛋群
         * content : 111111
         * like_amount : 5
         * like_state : 1
         * reply_amount : 13
         * collection_state : 0
         * picture_url : [{"large":"http://phvao75wg.bkt.clouddn.com/111-forum.wide.666.q.70","small":"http://phvao75wg.bkt.clouddn.com/111-forum.wide.225.q.70"},{"large":"http://phvao75wg.bkt.clouddn.com/222-forum.wide.666.q.70","small":"http://phvao75wg.bkt.clouddn.com/222-forum.wide.225.q.70"}]
         */

        private String topic_name;
        private String user_nickname;
        private String user_portrait_url;
        private int location_type;
        private String title;
        private String content;
        private int like_amount;
        private int like_state;
        private int reply_amount;
        private int collection_state;
        private long time;
        private int reply_permission;
        private int chat_permission;
        private String other_user_id;
        private String type;
        private int gender_type;
        private int age_type;
        private Group group;

        public Group getGroup() {
            return group;
        }

        public void setGroup(Group group) {
            this.group = group;
        }

        public int getAge_type() {
            return age_type;
        }

        public void setAge_type(int age_type) {
            this.age_type = age_type;
        }

        public int getGender_type() {
            return gender_type;
        }

        public void setGender_type(int gender_type) {
            this.gender_type = gender_type;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setOther_user_id(String other_user_id) {
            this.other_user_id = other_user_id;
        }

        public String getOther_user_id() {
            return other_user_id;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public void setReply_permission(int reply_permission) {
            this.reply_permission = reply_permission;
        }

        public void setChat_permission(int chat_permission) {
            this.chat_permission = chat_permission;
        }

        public long getTime() {
            return time;
        }

        public int getReply_permission() {
            return reply_permission;
        }

        public int getChat_permission() {
            return chat_permission;
        }

        private List<PictureUrlBean> picture_url;

        public String getTopic_name() {
            return topic_name;
        }

        public void setTopic_name(String topic_name) {
            this.topic_name = topic_name;
        }

        public String getUser_nickname() {
            return user_nickname;
        }

        public void setUser_nickname(String user_nickname) {
            this.user_nickname = user_nickname;
        }

        public String getUser_portrait_url() {
            return user_portrait_url;
        }

        public void setUser_portrait_url(String user_portrait_url) {
            this.user_portrait_url = user_portrait_url;
        }

        public int getLocation_type() {
            return location_type;
        }

        public void setLocation_type(int location_type) {
            this.location_type = location_type;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getLike_amount() {
            return like_amount;
        }

        public void setLike_amount(int like_amount) {
            this.like_amount = like_amount;
        }

        public int getLike_state() {
            return like_state;
        }

        public void setLike_state(int like_state) {
            this.like_state = like_state;
        }

        public int getReply_amount() {
            return reply_amount;
        }

        public void setReply_amount(int reply_amount) {
            this.reply_amount = reply_amount;
        }

        public int getCollection_state() {
            return collection_state;
        }

        public void setCollection_state(int collection_state) {
            this.collection_state = collection_state;
        }

        public List<PictureUrlBean> getPicture_url() {
            return picture_url;
        }

        public void setPicture_url(List<PictureUrlBean> picture_url) {
            this.picture_url = picture_url;
        }

        public static class PictureUrlBean {
            /**
             * large : http://phvao75wg.bkt.clouddn.com/111-forum.wide.666.q.70
             * small : http://phvao75wg.bkt.clouddn.com/111-forum.wide.225.q.70
             */

            private String large;
            private String small;
            private String origin;

            public void setOrigin(String origin) {
                this.origin = origin;
            }

            public String getOrigin() {
                return origin;
            }

            public String getLarge() {
                return large;
            }

            public void setLarge(String large) {
                this.large = large;
            }

            public String getSmall() {
                return small;
            }

            public void setSmall(String small) {
                this.small = small;
            }
        }

        public static class Group {
            private String group_id;
            private String title;
            private String introduction;
            private int member_amount;
            private int same_city_count;
            private int same_age_count;
            private String url;

            public int getSame_city_count() {
                return same_city_count;
            }

            public void setSame_city_count(int same_city_count) {
                this.same_city_count = same_city_count;
            }

            public int getSame_age_count() {
                return same_age_count;
            }

            public void setSame_age_count(int same_age_count) {
                this.same_age_count = same_age_count;
            }

            public String getGroup_id() {
                return group_id;
            }

            public void setGroup_id(String group_id) {
                this.group_id = group_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getIntroduction() {
                return introduction;
            }

            public void setIntroduction(String introduction) {
                this.introduction = introduction;
            }

            public int getMember_amount() {
                return member_amount;
            }

            public void setMember_amount(int member_amount) {
                this.member_amount = member_amount;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
